package com.tem.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 子公司用部门表
 * </p>
 *
 * @author 腾木
 * @since 2023-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_company")
@ApiModel(value="SysCompany对象", description="子公司用部门表")
public class SysCompany implements Serializable {

    private static final long serialVersionUID=2078319840154328L;

    @ApiModelProperty(value = "公司")
    @TableId(value = "sys_company_id", type = IdType.AUTO)
    private Long sysCompanyId;

    @ApiModelProperty(value = "公司名")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty(value = "国家城市path")
    @TableField("region_path")
    private String regionPath;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty(value = "传真")
    @TableField("fax")
    private String fax;

    @ApiModelProperty(value = "邮编")
    @TableField("zip")
    private String zip;

    @ApiModelProperty(value = "logo图片地址 前后台使用")
    @TableField("logo")
    private String logo;

    @ApiModelProperty(value = "备案 法人身份证正面")
    @TableField("ba_img1")
    private String baImg1;

    @ApiModelProperty(value = "备案 法人身份证反面")
    @TableField("ba_img2")
    private String baImg2;

    @ApiModelProperty(value = "备案 营业执照")
    @TableField("ba_img3")
    private String baImg3;

    @ApiModelProperty(value = "备案 税务证")
    @TableField("ba_img4")
    private String baImg4;

    @ApiModelProperty(value = "对公账户信息")
    @TableField("dgyh_desc")
    private String dgyhDesc;

    @ApiModelProperty(value = "qq")
    @TableField("qq")
    private String qq;

    @ApiModelProperty(value = "前台网址")
    @TableField("front_url")
    private String frontUrl;

    @ApiModelProperty(value = "备案信息")
    @TableField("right_msg")
    private String rightMsg;

    @ApiModelProperty(value = "服务热线")
    @TableField("hot_line")
    private String hotLine;

    @ApiModelProperty(value = "备注")
    @TableField("msg")
    private String msg;

    @ApiModelProperty(value = "0 1")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "是否复制模板")
    @TableField("is_template")
    private Integer isTemplate;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
